package com.tedu.egmybatis2.Mapper;

import com.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int InsertProduct(Product product);
    int DeleteProductById(int id);
    Product selectProductById(int id);

    List<Product> selectAllProduct();

}
